package com.adnaan.backend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * author: adnaan
 * create: 2025-01-11 15:14
 * Description:
 */
@Data
@Tag(name = "角色表")
@TableName("sys_role")
@EqualsAndHashCode(callSuper = true) // 排除父类的属性
public class SysRole extends BaseEntity {

    @Schema(title = "角色名称", description = "")
    private String name;

    @Schema(title = "角色编码", description = "")
    private String code;

    @Schema(title = "状态", description = "0启用1禁用")
    private Integer status;


}